package com.article.model;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

@Data
public class ArticleInfo implements Serializable {
    private Long id;

    private Long adminId;

    private String title;

    private String summary;

    private Integer clickHit;

    private Integer replyHit;

    private String content;

    private Long typeId;

    private String keyWord;

    private Date gmtCreate;

    private Date gmtModified;

    private ArticleType articleType;


    private Long articleCount; // 文章数量 非实际属性，主要是 根据发布日期归档查询文章数量用
    private String releaseDateStr; // 发布日期字符串 只取年和月
    private List<String> imagesList = new ArrayList<String>();
}